
<?php
//print_r($topsubcate[1]['result']);
$countTinTop = sizeof($topsubcate);
//var_dump($countTinTop );
?>

<?php 
    $num = 0; 
    for ($i = 0; $i < $countTinTop; $i++) { 

        $arrayResult = $topsubcate[$num]['result'];

        $totalsub = sizeof($arrayResult['subcate_details']);

 
?>

<div style="margin-left: 20px; padding-top: 25px;">
    <div><?php echo($arrayResult['cate_name']); ?></div>
    <table id="" cellspacing="2" cellpadding="0" border="0" style="border-width:0px;border-style:None;width:100%;">

        <?php
   
                    foreach ($arrayResult['subcate_details'] as $subcate)
                    {


        ?>

                                <tr>
                                    <td align="left" style="height:16px;">
                                       
                                        <a id="" href="timvieclam/jobresult.aspx?industry=36">
                                            <?php echo($subcate['sub_name']); ?>
                                            ( <?php echo($subcate['total_records']); ?>)
                                        </a>
                                    </td>
                                </tr>


        <?php
                    }
       
        ?>
    </table>
        
   </div>

<?php

        $num++;
     }

?>



